<%@ page language="java" contentType="text/html; charset=UTF-8"	%>
<%@ include file="/basecore/taglibs.jsp"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>应用开发-应用</title>
		<%@ include file="/basecore/meta.jsp"%>				
	</head>
	<body class="content">		
		
		<form name="appForm" action="metaAppController.wit" method="post">
			<div class="page-navigate" >				
				<span>
					<img src="${contextPath}/webresource/images/meta/application.jpg">
					<span align="left">
						应用开发-<a href="metaAppController.wit">应用</a>
					</span>
				</span>
			</div>		
			<div align=right class="fix-operation" >
				<input name="_jjrq" id="_jjrq"/>
				<wit:searchExpression expression="eq(created,_jjrq)"/>	
				<wit:dateTimePicker inputField="_jjrq" format="%Y-%m-%d"  />
				<wit:fullSearchBar form="appForm"/>
	  			<a href="#" onclick="query(appForm,'metaAppController.wit')">
	  				<img src="${contextPath}/webresource/images/operation/search.gif">
	  			</a>
			</div>			
			
			<div id="optbar" class="operation">				     					
					<a href="javascript:create(appForm,'metaAppController!edit.wit')" accesskey="a" taget="">
					<img src="${contextPath}/webresource/images/ico_btn_add.gif">
					新增(A)</a>
					<a href="javascript:edit(appForm,'','metaAppController!edit.wit')" accesskey="e">
					<img src="${contextPath}/webresource/images/ico_btn_edit.gif">
					编辑(E)</a>
					<%----%>
					<a href="javascript:batch_del(appForm,'应用','metaAppController!delete.wit')" accesskey="r">
					<img src="${contextPath}/webresource/images/ico_btn_del.gif">
					删除(R)</a>	      				
			</div>
			
			<ec:table items="appList" var="app" tableId="app" width="100%"
				action="metaAppController.wit"  title="应用"		
				ajax="true"	state="persist"	form="appForm"				
				hasComplexTitle="true" >	
				<ec:exportXls fileName="应用.xls"></ec:exportXls>	
				<ec:row >
					<ec:column property="ROWCOUNT" title=" " sortable="false" width="3%" viewsAllowed="html">
						${ROWCOUNT}
					</ec:column>
					<ec:column  property="checkbox" title=" " sortable="false" width="5%" viewsAllowed="html">
						<input type="checkbox" name="itemlist" value="${app.id}" style="border: 0px" />
					</ec:column>
					<ec:column  property="name" alias="name" title="A" />					
					<ec:column  property="namessssss"  alias="namesss"  title="显示|名称,说明" group="a" />
					<ec:column  property="description" alias="description1"  group="a"/>				
					
					
					<ec:column  property="nofieldName" title="action" width="5%" sortable="false" viewsAllowed="html">
						<a href="metaAppController!edit.wit?itemlist=${app.id}">
							<img border=0 src="${contextPath}/webresource/images/operation/edit.gif">
						</a>
						<a href="metaAppController!delete.wit?itemlist=${app.id}">
							<img border=0 src="${contextPath}/webresource/images/operation/del.gif">
						</a>
					</ec:column>
				</ec:row>
			</ec:table>		
			</form>
	</body>
	<script>window.parent.frames.menu.clearSelection();</script>
</html>